﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Fjaspx.UI.Web.Administrator.App_Api
{
    public partial class SiteMap : UserPage
    {
        /// <summary>
        /// 页面加载时间
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Page.Title = "网站地图 SiteMap-" + ___WebConfig.web_name;
                Bind();
            }
        }
        #region 数据绑定
        /// <summary>
        /// Binds this instance.
        /// </summary>
        private void Bind()
        {
            this.Repeater_sitemap.DataSource = ___ROYcms_class_Bll.GetClassList();
            this.Repeater_sitemap.DataBind();
        }
        #endregion
    }
}
